<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page import="bsw.wode.config.DefaultImage"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
	<head>
		<base href="<%=basePath%>">

		<title>注册</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<div class="mainBody">
			<div class="headArea"></div>
			<div class="regArea">
				<fieldset>
					<legend align="center">
						新用户注册
					</legend>
					<s:form action="/user/register.action" theme="simple">
					<UL>
					    <LI class="additionLine"></LI>
						<LI>
							<DIV class="field_title">
								会员名：
							</DIV>
							<DIV class="field_input">
								<s:textfield name="newUser.loginName" tabindex="1" maxlength="20" size="24"/>
								<INPUT onmouseover="this.style.cursor='hand';" onclick="return checkNick();" type=button value="检查会员名是否可用" />
							</DIV>
							<DIV class="field_info">
								会员名：
							</DIV>
						</LI>
						<LI>
							<DIV class="field_title">昵称：
							</DIV>
							<DIV class="field_input">
								<s:textfield name="newUser.nickname" tabindex="4" maxlength="30" size="24"/>
							</DIV>
							<DIV class="field_info">
								会员名：
							</DIV>							
						</LI>						
						<LI>
							<DIV class="field_title">
								密码：
							</DIV>
							<DIV class="field_input">
								<s:password name="newUser.password" tabindex="2" maxlength="20" size="24" />
							</DIV>
							<DIV class="field_info">
								会员名：
							</DIV>							
						</LI>
						<LI>
							<DIV class="field_title">
								再输入一遍密码：
							</DIV>
							<DIV class="field_input">
								<s:password name="confirmPassword" tabindex="3" maxlength="20" size="24" />
							</DIV>
							<DIV class="field_info">
								会员名：
							</DIV>							
						</LI>
						<LI>
							<DIV class="field_title">
								电子邮箱：
							</DIV>
							<DIV class="field_input">
								<s:textfield name="newUser.email" tabindex="4" maxlength="30" size="24"/>
							</DIV>
							<DIV class="field_info">
								会员名：
							</DIV>							
						</LI>
						<LI>
							<DIV class="field_title">
								校验码：
							</DIV>
							<DIV class="field_input">
								<s:textfield name="checkCode" tabindex="5" maxlength="4" size="6"/><img src="image/checkcode.jpg"/>
							</DIV>
							<DIV class="field_info">
								会员名:
							</DIV>							
						</LI>
					</UL>
					<div align="center"><s:submit value="同意以下条款，提交注册信息" cssClass="submitButton" onmouseover="this.style.cursor='hand';" onclick="return checkInput();"/></div>
					<br>
					<iframe src="" width=700 height=200>
					</iframe>
					</s:form>
				</fieldset>
			</div>
			<div class="footArea"></div>
		</div>
	</body>
</html>
